import request from '@/utils/request'

// 查询车主支付宝支付列表
export function listZfbpay(query) {
  return request({
    url: '/carowner/zfbpay/list',
    method: 'get',
    params: query
  })
}

// 查询车主支付宝支付详细
export function getZfbpay(id) {
  return request({
    url: '/carowner/zfbpay/' + id,
    method: 'get'
  })
}

// 新增车主支付宝支付
export function addZfbpay(data) {
  return request({
    url: '/carowner/zfbpay',
    method: 'post',
    data: data
  })
}

// 修改车主支付宝支付
export function updateZfbpay(data) {
  return request({
    url: '/carowner/zfbpay',
    method: 'put',
    data: data
  })
}

// 删除车主支付宝支付
export function delZfbpay(id) {
  return request({
    url: '/carowner/zfbpay/' + id,
    method: 'delete'
  })
}
